package com.maotouying.owlsmart.SmartUtil.Http;

import android.content.Context;

import com.alibaba.fastjson.JSONObject;
import com.maotouying.owlsmart.SmartUtil.File.FileoOperations;

public class portPath {

    private String portPath = "";//主地址
    private Context mContext;
    public String getPath(Context context){

        this.mContext = context;
        String ConfigFiles_json = FileoOperations.readAssetsTxt(mContext, "GlobalFile");
        JSONObject objsd = JSONObject.parseObject(ConfigFiles_json);
        String ciphertext = objsd.getString("RootPath");
        portPath = ciphertext;

        return portPath;
    }

}
